home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3082 / 3082.xpi / chrome / content / firefoxOverlay.xul next >
Extensible Markup Language  |  2010-01-14  |  2KB  |  40 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://undoclosedtabsbutton/skin/overlay.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://undoclosedtabsbutton/locale/prefwindow.dtd">
  5.  
  6. <overlay id="undoclosedtabsbutton-overlay"
  7.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.   <stringbundleset id="stringbundleset">
  10.     <stringbundle
  11.         id="bundle_undoclosedtabsbutton"
  12.         src="chrome://undoclosedtabsbutton/locale/undoclosedtabsbutton.properties" />
  13.   </stringbundleset>
  14.  
  15.   <script type="application/x-javascript"
  16.           src="chrome://undoclosedtabsbutton/content/undo.js" />
  17.  
  18.   <toolbarpalette id="BrowserToolbarPalette">
  19.   <toolbarbutton id="undoclosedtabsbutton-toolbar-button"
  20.     type="menu-button"
  21.     label="&undoclosedtabsbuttonToolbar.label;"
  22.     tooltiptext="&undoclosedtabsbuttonToolbar.label;"
  23.     oncommand="undoCloseTab();"
  24.     context=""
  25.     onclick="undoClosedButt.rightClickMenu(this, event);"
  26.     class="toolbarbutton-1 chromeclass-toolbar-additional">
  27.         <menupopup
  28.           id="undoclosedtabsbutton-menu"
  29.           placespopup="true"
  30.           oncommand="event.stopPropagation();"
  31.           onpopupshowing="undoClosedButt.populateUndoSubmenu(this);" />
  32.   </toolbarbutton>
  33.   </toolbarpalette>
  34.  
  35.   <popup id="contentAreaContextMenu">
  36.     <menuitem id="uctb-contextentry" insertafter="context-stop" label="&undolastclosedtab.label;" oncommand="undoCloseTab();"/>
  37.     <menuseparator id="uctb-separator" insertafter="context-stop"/>
  38.   </popup>
  39.  
  40. </overlay>